package com.example.plan.model.vo;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * 运输风险预警表
 * @TableName risk_alert
 */
@TableName(value ="risk_alert")
@Data
public class RiskAlertVO implements Serializable {

    @ApiModelProperty(value = "预警ID")
    private Long alert_id;

    @ApiModelProperty(value = "关联订单ID")
    private Long order_id;

    @ApiModelProperty(value = "风险类型")
    private Object risk_type;

    @ApiModelProperty(value = "风险等级")
    private Object risk_level;


    @ApiModelProperty(value = "建议措施（如更换无人机或延迟运输）")
    private String suggestion;


    @ApiModelProperty(value = "触发时间")
    private Date triggered_at;

}